EggGroup

@Serializable
data class EggGroup(val id: Int, val name: String, val names: List<Name>, val pokemonSpecies: List<Handle.Named<PokemonSpecies>>) : NamedModel(source)

Egg Groups are categories which determine which Pokémon are able to interbreed. See: https://pokeapi.co/docs/v2#egggroups

Parameters

id

The identifier for this egg group resource.

name

The name for this egg group resource.

names

The name of this egg group listed in different languages.

pokemonSpecies

A list of all Pokémon species that are members of this egg group.

Constructors

Link copied to clipboard
constructor(id: Int, name: String, names: List<Name>, pokemonSpecies: List<Handle.Named<PokemonSpecies>>)

Properties

Link copied to clipboard
open override val id: Int
Link copied to clipboard
open override val name: String
Link copied to clipboard